package com.wky.user.mapper;

import com.wky.basic.mapper.BaseMapper;
import com.wky.org.pojo.Department;
import com.wky.user.pojo.LoginInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoginInfoMapper extends BaseMapper<LoginInfo> {


    /**
     * 根据phone和type查询登录信息
     * @param phone
     * @param type
     * @return
     */
    LoginInfo findByPhoneAndType(String phone, Integer type);
}
